package com.fjec.market.es.repository;

import com.fjec.market.es.document.PurchaseDocument;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;

import java.util.List;

public interface PurchaseRepository extends ElasticsearchCrudRepository<PurchaseDocument, Long> {
    List<PurchaseDocument> findByShortName(String shortName);
}
